package com.mars.diancan.pojo;

import com.mars.diancan.common.OrderStatusEnum;
import com.mars.diancan.common.PayStatusEnum;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单详情表
 * @author MARS
 * @date 2018/6/24
 */
@Entity
@Data
@DynamicUpdate
@Table(name = "wx_order_detail")
public class OrderDetail {

    @Id
    private String detailId;
    private String orderId;
    private String productId;
    private String productName;
    private BigDecimal productPrice;
    private Integer productQuantity;
    private String productIcon;
    private Date createTime;
    private Date updateTime;
}
